package com.jdj.framework.config.autoconfigure.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 配置文件读取配
 * @author caijinbang
 * @date 2019-04-14 14:14
 */
@Component
@ConfigurationProperties(prefix = PropertyPlaceholderConfigurerProperties.PREFIX)
public class PropertyPlaceholderConfigurerProperties {
    static final String PREFIX = "framework.properties";

    private String locations;

    private Boolean ignoreResourceNotFound;


    public String getLocations() {
        return locations;
    }

    public void setLocations(String locations) {
        this.locations = locations;
    }

    public Boolean getIgnoreResourceNotFound() {
        return ignoreResourceNotFound;
    }

    public void setIgnoreResourceNotFound(Boolean ignoreResourceNotFound) {
        this.ignoreResourceNotFound = ignoreResourceNotFound;
    }
}
